<template>
    <view class="setting">
        <view class="settingItem" v-for="item in settingList" @click="handleNavigateTo(item.url)">
            <text>{{ item.name }}</text>
            <u-icon name="arrow-right" :size="8"></u-icon>
        </view>
    </view>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import { handleNavigateTo } from '@/plugins/uniApp'
const settingList = ([
    {name:"管理员", url:"../../pagesC/admin/index"},
    {name:"社区规范", url:""},
    {name:"实名认证", url:""},
    {name:"隐私协议", url:""},
    {name:"用户协议", url:""},
    {name:"关于我们", url:""}
])
</script>
<style lang="scss" scoped>
.setting{
    display: flex;
    flex-direction: column;
    .settingItem{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 30rpx 30rpx;
		font-size: 34rpx;
		color: #3A393A;
    }
}
</style>